Multi-paradigm Logic Programming Finer Control of Weakening and Contraction: towards a Separated-linear Lambda Calculus (summary)
نویسنده
چکیده
P lotkin demonstrated how two diierent parameter-passing mechanisms could be explained by two diierent translations from the-calculus into the calculus of the continuation passing style 12]. Each of his transformations makes the control operations of each particular mechanism explicit in the transformed term, so that reduction of the transformed term by either mechanism produces equivalent results. In this presentation, we will also compare diierent calling mechanisms by mapping them into a common system, but rather than focusing on an explicit ow of control such as through the continuation-passing style, we will contrast the mechanisms in terms of the substructural operations suggested by Girard's linear logic 5]. Moreover, rather than considering linear systems with a single intutitionistic mode, we will construct as a target of the translations a separated-linear lambda calculus, where the two key substructural operations of weakening and contraction are enabled by distinct modal connectives. Typed lambda calculi generally have a Curry-Howard correspondence 4, 7]: a close relationship between their type systems and formal logical frameworks, usually some variety of minimal intuitionistic logic. In such logics, structural inference rules play an important, if often overlooked, role: weakening allows assumptions to be discarded, while contraction allows duplication. Moreover , these rules are the only facility for duplicating and discarding assumptions. So at the level of the calculi, the corresponding typing rules are the mechanisms by which we introduce the copying or discarding of terms. A term is discarded when it is substituted for a variable which appears only on the left side of a typing judgement, which can occur only as the result of applying a weakening rule; a term is duplicated when it is substituted for a variable which appears more than once on the right side of a typing judgement, which can occur only by a contraction rule. In the substructural lambda calculi I 3], A and L 8], the use of (respectively) weakening, contraction and both are simply banned. These systems are not suucient here: while we do want to make the use of such rules explicit, we do not want to prohibit them altogether. Instead, we will take as target calculi systems whose type systems are related to logics where the use of the structural rules must be explicitly enabled. In previous work 10], we explored translations into a system based on the linear logic of Girard 5]. In linear logic the ability to weaken or …
منابع مشابه
Finer Control of Weakening and Contraction : Towards aSeparated - Linear
P lotkin demonstrated how two diierent parameter-passing mechanisms could be explained by two diierent translations from the-calculus into the calculus of the continuation passing style 12]. Each of his transformations makes the control operations of each particular mechanism explicit in the transformed term, so that reduction of the transformed term by either mechanism produces equivalent resu...
متن کاملSeparating Weakening and Contraction in a Linear Lambda Calculus
We present a separated-linear lambda calculus of resource consumption based on a refinement of linear logic which allows separate control of weakening and contraction. The calculus satisfies subject reduction and confluence, and inherits previous results on the relationship of Girard’s two translations from minimal intuitionistic logic to linear logic with call-by-name and call-by-value. We con...
متن کاملCall - by - need splits the mode !
We present a separated-linear lambda calculus based on a reenement of linear logic which allows separate control of weakening and contraction. The calculus satisses subject reduction and connuence, has a straightforward notion of standard evaluation, and inherits previous results on the relationship of Girard's two translations from minimal intuitionistic logic to linear logic with call-by-name...
متن کاملLambda Calculus and Intuitionistic Linear Logic
The Curry-Howard isomorphism 1 is the basis of typed functional programming. By means of this isomorphism, the intuitionistic proof of a formula can be seen as a functional program, whose type is the formula itself. In this way, the computation process has its logic realization in the proof normalization procedure. Both the implicative fragment of the intuitionistic propositional logic together...
متن کاملThe Linear Lambda Calculus
Girard described two translations of intuitionistic logic into linear logic, one where A ! B maps to (!A) ? B, and another where it maps to !(A ? B). We detail the action of these translations on terms, and show that the rst corresponds to a call-by-name calculus, while the second corresponds to call-by-value. We further show that if the target of the translation is taken to be an aane calculus...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007